package com.qzxy.premiumhotelsystem.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;



@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "RoomsDTO")
public class RoomsDTO implements Serializable {


    @Schema(description = "房间号 (101)",required = true)
    @NotBlank(message = "roomNumber不能为空")
    private String roomNumber;

    @NotNull(message = "roomTypeId不能为空")
    @Schema(description = "房间类型id (对应room_type表的id,必须对应，否则报错)",required = true)
    private Integer roomTypeId;

    @Schema(description = "描述 (这是房间的描述信息)",required = true)
    private String description;

    private static final long serialVersionUID = 1L;
}